package com.cheng.example.atguigu.design_pattern.strategy.imporve;

/*
 * @author 程帅
 * @createTime: 2020/10/19 13:25
 * @Created: with IntelliJ IDEA.
 */
public class Client {

    public static void main(String[] args) {
        WildDuck wildDuck = new WildDuck();
        wildDuck.fly();

        ToyDuck toyDuck = new ToyDuck();
        toyDuck.fly();

        PekingDuck pekingDuck = new PekingDuck();
        pekingDuck.fly();

    }
}
